Diameter and k-Center in Sliding Windows
نویسندگان
چکیده
In this paper we develop streaming algorithms for the diameter problem and the k-center clustering problem in the sliding window model. In this model we are interested in maintaining a solution for the N most recent points of the stream. In the diameter problem we would like to maintain two points whose distance approximates the diameter of the point set in the window. Our algorithm computes a (3 + )-approximation and uses O(1/ lnα) memory cells, where α is the ratio of the largest and smallest distance and is assumed to be known in advance. We also prove that under reasonable assumptions obtaining a (3 − )-approximation requires Ω(N1/3) space. For the k-center problem, where the goal is to find k centers that minimize the maximum distance of a point to its nearest center, we obtain a (6 + )-approximation using O(k/ lnα) memory cells and a (4 + )-approximation for the special case k = 2. We also prove that any algorithm for the 2-center problem that achieves an approximation ratio of less than 4 requires Ω(N1/3) space. 1998 ACM Subject Classification F.2 Analysis of Algorithms and Problem Complexity
منابع مشابه
A Visualization System for Sliding Windows Protocols
1 David Henry, Member, IEEE Computer Society, [email protected] 2 Yashwant K. Malaiya, Computer Science Dept., Colorado State University, [email protected] Abstract This paper shows how algorithm visualization can be used to teach sliding windows protocols. In the described approach, the student creates and visually manipulates traffic between an abstract sender/receiver pair. Thi...
متن کاملStudy on the Friction of Bored Cylindrical Rubber Protrusions Sliding on Ceramic
The present work aims at reducing the friction of rubber soles sliding on ceramic floorings. Fitting bored cylindrical protrusions with different diameters on rubber soles was proposed. Experiments were carried out to evaluate the performance of the proposed protrusions in increasing friction coefficient at dry and contaminated floorings. It was found that, at dry sliding, friction coefficient ...
متن کاملA Novel Ensemble Approach for Anomaly Detection in Wireless Sensor Networks Using Time-overlapped Sliding Windows
One of the most important issues concerning the sensor data in the Wireless Sensor Networks (WSNs) is the unexpected data which are acquired from the sensors. Today, there are numerous approaches for detecting anomalies in the WSNs, most of which are based on machine learning methods. In this research, we present a heuristic method based on the concept of “ensemble of classifiers” of data minin...
متن کاملMining Frequent Patterns in Uncertain and Relational Data Streams using the Landmark Windows
Todays, in many modern applications, we search for frequent and repeating patterns in the analyzed data sets. In this search, we look for patterns that frequently appear in data set and mark them as frequent patterns to enable users to make decisions based on these discoveries. Most algorithms presented in the context of data stream mining and frequent pattern detection, work either on uncertai...
متن کاملClustering on Sliding Windows in Polylogarithmic Space
In PODS 2003, Babcock, Datar, Motwani and O’Callaghan [4] gave the first streaming solution for the k-median problem on sliding windows using O( k τ4W 2τ log2 W ) space, with a O(2O(1/τ)) approximation factor, where W is the window size and τ ∈ (0, 2 ) is a user-specified parameter. They left as an open question whether it is possible to improve this to polylogarithmic space. Despite much progr...
متن کامل